package com.zhifa.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zhifa.dao.SalaryitemDao;
import com.zhifa.entity.Salaryitem;

@Service("salaryitemService")
public class SalaryitemService {
	
	@Resource
	SalaryitemDao salaryitemDao;

	public List<Salaryitem> findSalaryitemByTimestamp(String timestamp){
		return salaryitemDao.findSalaryitemByTimestamp(timestamp);
	}
	
	public int addSalaryitem(List<Salaryitem>list){
		return salaryitemDao.addSalaryitem(list);
	}
}
